package cn.gogpay.dcb.ixc.cloud.common.util;

import java.io.Serializable;

/**
 * @author YinHeng
 * @date 2021/5/18 10:06
 */
public class PageForm implements Serializable {

    private Integer pageIndex;

    private Integer pageSize;

    public Integer getPageIndex() {
        return pageIndex == null ? 1 : pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize == null ? 10 : pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
